package state.before;

/**
 * @Author: Doream
 * @Date: 2022/1/30 10:33
 */
// 电梯接口
public interface ILift {
    // 电梯的四个状态
    int OPENING_STATE = 1;
    int CLOSEING_STATE = 2;
    int RUNNING_STATE = 3;
    int STOPING_STATE = 4;

    void setState(int state);
    void open();
    void close();
    void run();
    void stop();
}
